package cc.yugu.yhdw.common.protocol.msg02;

import cc.yugu.yhdw.common.protocol.MsgCode;
import io.netty.buffer.ByteBuf;

public class Msg021000030 extends Msg021 {
    public String id;
    public int offset;
    public int rows;
    public byte type;


    @Override
    public int getMsgCode() {
        return MsgCode.MSG_021000030.getCode();
    }

    @Override
    public void readData(ByteBuf buffer) {
        id = readString(buffer);
        offset = buffer.readInt();
        rows = buffer.readInt();
        type = buffer.readByte();
    }
}
